<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>list</title>
<link rel="stylesheet" type="text/css" href="../styles/easyui.css">
<link rel="stylesheet" type="text/css" href="../styles/icon.css">
<link rel="stylesheet" type="text/css" href="../styles/demo.css">
<script type="text/javascript" src="../jquery/jquery.min.js"></script>
<script type="text/javascript" src="../jquery/jquery.easyui.min.js"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" type="text/css" href="../css/normalize.css" />
<link rel="stylesheet" type="text/css"
	href="../fonts/font-awesome-4.2.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="../css/demo.css" />
<link rel="stylesheet" type="text/css" href="../css/component.css" />
</head>

<body>


	<div style="margin: 20px 0;"></div>
	<table id="dg" title="历史借阅列表" style="width: 425px; height: 150px"
		data-options="rownumbers:false,singleSelect:true,pagination:false,url:'/jsxt/borrow/borrow_his_levelup.action?id=${user.id}',method:'post'">
		<thead>
			<tr>
				<!--  <th data-options="field:'historyId',width:60">借阅id</th>
				<th data-options="field:'id',width:60">用户名</th>					
				<th data-options="field:'isbn',width:80">书籍isbn</th>	 -->
				<th data-options="field:'bookName',width:60">书名</th>
				<th data-options="field:'language',width:80">语言</th>
				<th data-options="field:'author',width:60">作者</th>
				<th data-options="field:'publish',width:80">出版社</th>
				<th data-options="field:'type',width:60">类型</th>
				<th data-options="field:'isbn',width:80">书籍isbn</th>
			</tr>
		</thead>
	</table>



	<script type="text/javascript">
		$(function() {
			var pager = $('#dg').datagrid().datagrid('getPager'); // get the pager of datagrid
			pager.pagination({
				buttons : [ {
					iconCls : 'icon-search',
					handler : function() {
						location.href = "/jsxt/user/toquery.action"
						/* alert('search'); */
					}
				},/* {
									iconCls:'icon-add',
									handler:function(){
										 
										 alert('add'); 
									}
								},{
									iconCls:'icon-edit',
									handler:function(){
										alert('edit');
									}
								} */]
			});
		})
	</script>
</body>

</html>